import {getAssetsFile} from "../../utils/utils.js";

export const treeConstruct = [
    {
        title: '园区A',
        key: 'gardenA',
        img: getAssetsFile('imgs/factorySelect.png'),
        imgSelected: getAssetsFile('imgs/factory.png'),
        path: '/3dTiles/factory3/tileset.json',
        newPosition: true,
        property: {
            lng: 117.08396999692018,
            lat: 31.654587186710587,
            height: null,
            pitch: -30,
            angle: 360 / 180,
            distance: 1300,
            seconds: 10000000000,
            listener: true,
            delay: 5000
        },
        children: [
            {
                title: '安全管理',
                key: 'SecurityManage',
                componentName: 'SecurityManage',
                url: '../modules/securityManage.vue',
                img: getAssetsFile('imgs/security-b.png'),
                imgSelected: getAssetsFile('imgs/security-y.png'),
                status: true,
                id: 1,
                children: [],
            },
            {
                title: '风险等级',
                key: 'DangerManage',
                componentName: 'DangerManage',
                url: '../modules/dangerManage.vue',
                img: getAssetsFile('imgs/level-b.png'),
                imgSelected: getAssetsFile('imgs/level-y.png'),
                status: false,
                id: 2,
                children: [],
            },
            {
                title: '离岗检测',
                key: 'PersonMonitor',
                componentName: 'PersonMonitor',
                url: '../modules/personMonitor.vue',
                img: getAssetsFile('imgs/vr-b.png'),
                imgSelected: getAssetsFile('imgs/vr-y.png'),
                status: false,
                id: 3,
                children: [],
            },
            {
                title: '人员管理',
                key: 'PersonManage',
                componentName: 'PersonManage',
                url: '../modules/personManage.vue',
                img: getAssetsFile('imgs/other-b.png'),
                imgSelected: getAssetsFile('imgs/other-y.png'),
                status: false,
                id: 4,
                children: [],
            },
            {
                title: '督察巡检',
                key: 'InspectorManage',
                componentName: 'InspectorManage',
                url: '',
                img: getAssetsFile('imgs/point-b.png'),
                imgSelected: getAssetsFile('imgs/point-y.png'),
                status: false,
                id: 5,
                children: [],
            },
            {
                title: '在线监控',
                key: '',
                componentName: '',
                url: '',
                img: getAssetsFile('imgs/video-b.png'),
                imgSelected: getAssetsFile('imgs/video-y.png'),
                status: false,
                id: 6,
                children: [],
            },
            {
                title: '测试测试',
                key: '',
                componentName: '',
                url: '',
                img: getAssetsFile('imgs/tag-b.png'),
                imgSelected: getAssetsFile('imgs/tag-y.png'),
                status: false,
                id: 7,
                children: [],
            },
            {
                title: '测试测试1',
                key: '',
                componentName: '',
                url: '',
                img: getAssetsFile('imgs/tag-b.png'),
                imgSelected: getAssetsFile('imgs/tag-y.png'),
                status: false,
                id: 8,
                children: [],
            },
        ],
    },
    {
        title: '园区B',
        key: 'gardenB',
        img: getAssetsFile('imgs/factorySelect.png'),
        imgSelected: getAssetsFile('imgs/factory.png'),
        path: '/3dTiles/refinery/tileset.json',
        newPosition: false,
        property: {
            lng: 121.92393750224376,
            lat: 40.89699503263469,
            height: null,
            pitch: -30,
            angle: 360 / 180,
            distance: 1300,
            seconds: 10000000000,
            listener: true,
            delay: 5000
        },
        children: [
            {
                title: '模块1',
                key: '',
                componentName: '',
                url: '',
                img: getAssetsFile('imgs/security-b.png'),
                imgSelected: getAssetsFile('imgs/security-y.png'),
                status: false,
                id: 1,
                children: [],
            },
            {
                title: '模块2',
                key: 'SecurityManage',
                componentName: 'SecurityManage',
                url: '../modules/securityManage.vue',
                img: getAssetsFile('imgs/level-b.png'),
                imgSelected: getAssetsFile('imgs/level-y.png'),
                status: false,
                id: 2,
                children: [],
            },
            {
                title: '模块3',
                key: '',
                componentName: '',
                url: '',
                img: getAssetsFile('imgs/vr-b.png'),
                imgSelected: getAssetsFile('imgs/vr-y.png'),
                status: false,
                id: 3,
                children: [],
            },
            {
                title: '模块4',
                key: '',
                componentName: '',
                url: '',
                img: getAssetsFile('imgs/other-b.png'),
                imgSelected: getAssetsFile('imgs/other-y.png'),
                status: false,
                id: 4,
                children: [],
            },
            {
                title: '模块5',
                key: '',
                componentName: '',
                url: '',
                img: getAssetsFile('imgs/point-b.png'),
                imgSelected: getAssetsFile('imgs/point-y.png'),
                status: false,
                id: 5,
                children: [],
            },
            {
                title: '模块7',
                key: '',
                componentName: '',
                url: '',
                img: getAssetsFile('imgs/video-b.png'),
                imgSelected: getAssetsFile('imgs/video-y.png'),
                status: false,
                id: 6,
                children: [],
            },
            {
                title: '模块8',
                key: '',
                componentName: '',
                url: '',
                img: getAssetsFile('imgs/tag-b.png'),
                imgSelected: getAssetsFile('imgs/tag-y.png'),
                status: false,
                id: 7,
                children: [],
            },
            {
                title: '模块9',
                key: '',
                componentName: '',
                url: '',
                img: getAssetsFile('imgs/tag-b.png'),
                imgSelected: getAssetsFile('imgs/tag-y.png'),
                status: false,
                id: 8,
                children: [],
            },
        ],
    },
    {
        title: '园区C',
        key: '',
        img: getAssetsFile('imgs/factorySelect.png'),
        imgSelected: getAssetsFile('imgs/factory.png'),
        children: [
            {
                title: '',
                key: '',
                componentName: '',
                url: '',
                children: [],
            },
            {
                title: '',
                key: '',
                componentName: '',
                url: '',
                children: [],
            },
        ],
    },
];
